﻿namespace FFF.Test.DataAccess.Framework.Configuration.Dto
{
    using System;
    using System.Collections.Generic;
    using System.Text;

    /// <summary>
    /// 列的信息
    /// </summary>
    public class ColInfoDto
    {
        /// <summary>
        /// 数据库的col的名称
        /// </summary>
        public string ColumnName { get; set; }

        /// <summary>
        /// 对应的类型
        /// </summary>
        public string ColumnType { get; set; }

        //public int? ColumnWidth { get; set; }

        /// <summary>
        /// 列的描述
        /// </summary>
        public string ColDesc { get; set; }

        /// <summary>
        /// 数据库表的名称
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 表的描述
        /// </summary>
        public string TableDesc { get; set; }

        /// <summary>
        /// 类型 table　和view 视图
        /// </summary>
        public string Type { get; set; }

        //public string TablePrimarkeyType { get; set; }

        //public string TablePrimarkeyName { get; set; }

        //public int? IsPrimaryKey { get; set; }

        //public string DefaultValue { get; set; }

        //public int? IsNullable { get; set; }

        //public DateTime? ColCreateDate { get; set; }

        //public DateTime? TableCreateDate { get; set; }

        //public DateTime? TableUpdateDate { get; set; }

        //public int? IsIdentity { get; set; }
    }
}
